#ifndef SHCO_INPUTMANAGER_H
#define SHCO_INPUTMANAGER_H

#include "tool/defines.h"
#include "../disp/disp.h"

namespace ShCo
{

struct LocationEvent
{
    int button;
    double x, y;
    unsigned int state;
};

struct StringEvent
{
    const char* s;
};

class InputManagerImpl;
class InputManager
{
public:
    InputManager();
    ~InputManager();

    void event(const SsUiEvent*);
    // bool locEvt(const LocationEvent*);
    // bool strEvt(const StringEvent*);

private:
    SH_DISABLE_COPY(InputManager);
    SH_DECLARE_IMPL(InputManager);
};

} // namespace ShCo

#endif // SHCO_INPUTMANAGER_H
